package com.softeem.score.manager.service;

import com.github.pagehelper.PageInfo;
import com.softeem.score.model.entity.CollegeEntity;
import com.softeem.score.model.entity.school.College;
import com.softeem.score.model.vo.school.CollegeVo;
import com.softeem.score.model.vo.school.MajorVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhu
 * @since 2024-02-14
 */
public interface CollegeService  {

    List<CollegeEntity> getAllCollege();

    PageInfo<CollegeVo> findByPage(MajorVo majorVo, Integer pageNum, Integer pageSize);

    void saveCollege(College college);

    void updateCollege(College college);

    void deleteById(Long collegeId);
}
